package com.wd.mylibrary_base.utils

import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * 作者: 邢凌志
 * 时间: 2024/9/24
 * 描述:
 */
@Entity
class RoomBean {
    @PrimaryKey(autoGenerate = true)
    private var id:Int=0
    private var content:String=""

    constructor(content:String){
        this.content=content
    }

    fun getId():Int{
        return id
    }

    fun setId(id:Int){
        this.id=id
    }

    fun getContent():String{
        return content
    }
}